<%@ page language="java" contentType="text/html; charset=US-ASCII" pageEncoding="US-ASCII"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<link rel="stylesheet" type="text/css" href="/css/mycss.css">
<link rel="stylesheet" type="text/css" href="/css/jquery.timepicker.css">
<link rel="stylesheet" type="text/css" href="/css/bootstrap-datepicker.css">
<script type="text/javascript" src="/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="/js/jquery.tablesorter.js"></script>
<script type="text/javascript" src="/js/jquery.timepicker.js"></script>
<script type="text/javascript" src="/js/bootstrap-datepicker.js"></script>
<script type="text/javascript" src="/js/audit.js"></script>
<title>audit trail</title>
</head>
<body>
	<!-- 
	<s:url action="goBackToLegalHome" namespace="/legal" var="goBackToLegalHome"></s:url>
	<s:a href="%{goBackToLegalHome}">go back</s:a>
	 -->

	<form action="javascript:getDocSearchResult();" class="regular">
		<h1>search doctor</h1>
		<s:textfield name="appointDocId" label="Doctor id"></s:textfield>
		<s:textfield name="appointDocFirstname" label="First name"></s:textfield>
		<s:textfield name="appointDocLastname" label="Last name"></s:textfield>
		<button id="searchDoc" type="submit" class="button">search</button>
	</form>
	<br />
	<br />
	<div id="appointDocSearchResult" class="searchResult"></div>
	<br />
	<div id="messageDiv" style="display: none"></div>
	<br />
	<div id="advancedSearch">
		<form action="javascript:getRecordSearchResult();" class="regular">
			<h1>advanced search</h1>
			<s:textfield name="recordDocId" label="Doctor id" readonly="true"></s:textfield>
			<s:textfield name="recordPatientId" label="Patient id"></s:textfield>
			<label for="chooseStartDate">Start date:</label> <input id="chooseStartDate" type="text" name="startDate"> <label
				for="chooseEndDate">End date:</label> <input id="chooseEndDate" type="text" name="endDate">
			<button id="searchRecord" type="submit" class="button">search</button>
		</form>
	</div>
	<br />
	<br />
	<div id="recordDetail" class="searchResult"></div>
</body>
</html>